package com.yjhb.android.sbz.entity;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import com.jojo.android.zxlib.base.BaseEntity;

import java.util.Date;

/**
 * task_step
 *
 * @author
 */
@DatabaseTable(tableName = "task_step")
public class TaskStep extends BaseEntity {
    private Integer id;

    @DatabaseField(canBeNull = false,id = true)
    private String sId;

    @DatabaseField(canBeNull = false)
    private String dbId;

    /**
     * 任务id
     */
    private int taskId;

    /**
     * 步骤标题
     */
    @DatabaseField
    private String title;

    /**
     * 步骤内容
     */
    @DatabaseField
    private String content;

    /**
     * 步骤类型:1网址2二维码3图片4文字5复制6上传截图7收集信息
     */
    @DatabaseField
    private int type;

    /**
     * 排序
     */
    @DatabaseField
    private int sort;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;


    public TaskStep() {
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getDbId() {
        return dbId;
    }

    public void setDbId(String dbId) {
        this.dbId = dbId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}

